package de.tum.in.eist.poll.client;


import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

import de.tum.in.eist.poll.shared.Lecturer;
import de.tum.in.eist.poll.shared.Student;
import de.tum.in.eist.poll.shared.exceptions.UserNotFoundException;


@RemoteServiceRelativePath("auth")
public interface AuthService extends RemoteService{
	public Student authenticateStudent(String studentID, String password) throws UserNotFoundException;
	public Lecturer authenticateLecturer(String studentID, String password) throws UserNotFoundException;
}
